<%--
  Created by IntelliJ IDEA.
  User: 隼
  Date: 2017/1/22
  Time: 9:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>alter</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath }/static/日期控件/documents/css/reset.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath }/static/日期控件/css/BeatPicker.min.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath }/static/日期控件/documents/css/demos.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath }/static/日期控件/documents/css/prism.css"/>
    <script src="${pageContext.request.contextPath }/static/日期控件/js/jquery-1.11.0.min.js"></script>
    <script src="${pageContext.request.contextPath }/static/日期控件/js/BeatPicker.min.js"></script>
    <script src="${pageContext.request.contextPath }/static/日期控件/documents/js/prism.js"></script>

    <script type="text/javascript">
    </script>
</head>
<body>
<form action="/sun/alter" method="post" action="${pageContext.request.contextPath }/sun/alter" enctype="multipart/form-data">
<table width="100%" border=1>

    <input type="hidden" name="id" value="${user.id}">

    <tr>
        <td>
            姓名<input name="name" value="${user.name}">
        </td>
    </tr>
    <tr>
        <td>
            性别<input name="sex" value="${user.sex}">
        </td>
    </tr>
    <tr>
        <td>
            生日
            <input type="text" value="${user.birthday}">
            <input type="text" name="time" data-beatpicker="true" class="beatpicker-input beatpicker-inputnode"
                     readonly="readonly" data-beatpicker-id="beatpicker-0"
                     style="background-image: url(&quot;&quot;);">
        </td>
    </tr>
    <tr>
        <td>
            班级<input name="cclass" value="${user.cclass}">
        </td>
    </tr>
    <tr>
        <td>
            爱好<input name="aihao" value="${user.aihao}">
        </td>
    </tr>
    <tr>
        <td>
           图片<img src="/pic/${user.photo}" width=100 height=100/>
            <input type="file"  name="photo"/>
        </td>
    </tr>
    <tr><td><br> <input type="submit" value="提交"/></td></tr>

</table>
</form>

</body>
</html>
